package com.zrkizzy.seckill.exception;

import com.zrkizzy.seckill.enums.HttpStatusEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 全局异常类
 *
 * @author zhangrongkang
 * @since 2023/3/21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
public class GlobalException extends RuntimeException {

    /**
     * 公共返回对象枚举
     */
    private HttpStatusEnum httpStatusEnum;

}
